#ifndef TRANSFORM_H_
#define TRANSFORM_H_

#include "object3d.h"
#include "../d_Math/d_Math.h"

class Transform : Object3D
{
public:
	Transform(d_Mat4f &m, Object3D *o);
	bool intersect(const Ray &r, Hit &h, float tmin);
	bool inside(d_Vec3f point);
protected:
	Object3D *object;
	d_Mat4f tr;
};

#endif /*TRANSFORM_H_*/
